package com.young.ums.model;

import com.young.common.core.excel.ExcelColumn;
import java.util.Date;
/**
* 统一用户配置实体类
* Created by imrookie on 2018-9-14.
*/
public class UmsConfig{

    @ExcelColumn(value = "主键", order = 1)
    private String id;//主键
    @ExcelColumn(value = "key", order = 2)
    private String ckey;//key
    @ExcelColumn(value = "值", order = 3)
    private String cvalue;//值
    @ExcelColumn(value = "是否启用", order = 4)
    private String state;//是否启用
    @ExcelColumn(value = "备注", order = 5)
    private String remark;//备注
    @ExcelColumn(value = "创建时间", order = 6)
    private Date createTime;//创建时间
    @ExcelColumn(value = "更新时间", order = 7)
    private Date updateTime;//更新时间
    @ExcelColumn(value = "显示顺序", order = 8)
    private Integer num;//显示顺序
    @ExcelColumn(value = "创建人", order = 9)
    private String createUserId;//创建人
    @ExcelColumn(value = "更新人", order = 10)
    private String updateUserId;//更新人

    private String orderBy;//排序字段
    private String orderType;//排序类型,升序asc/降序desc

    @Override
    public String toString() {
        return "UmsConfig{" +
                "id='" + id + '\'' +
                ", ckey='" + ckey + '\'' +
                ", cvalue='" + cvalue + '\'' +
                ", state='" + state + '\'' +
                ", remark='" + remark + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", num=" + num +
                ", createUserId='" + createUserId + '\'' +
                ", updateUserId='" + updateUserId + '\'' +
                ", orderBy='" + orderBy + '\'' +
                ", orderType='" + orderType + '\'' +
                '}';
    }

    public UmsConfig(){
        super();
    }

    public String getId() {
    return id;
    }
    public void setId(String id) {
    this.id = id;
    }
    public String getCkey() {
    return ckey;
    }
    public void setCkey(String ckey) {
    this.ckey = ckey;
    }
    public String getCvalue() {
    return cvalue;
    }
    public void setCvalue(String cvalue) {
    this.cvalue = cvalue;
    }
    public String getState() {
    return state;
    }
    public void setState(String state) {
    this.state = state;
    }
    public String getRemark() {
    return remark;
    }
    public void setRemark(String remark) {
    this.remark = remark;
    }
    public Date getCreateTime() {
    return createTime;
    }
    public void setCreateTime(Date createTime) {
    this.createTime = createTime;
    }
    public Date getUpdateTime() {
    return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
    }
    public Integer getNum() {
    return num;
    }
    public void setNum(Integer num) {
    this.num = num;
    }
    public String getCreateUserId() {
    return createUserId;
    }
    public void setCreateUserId(String createUserId) {
    this.createUserId = createUserId;
    }
    public String getUpdateUserId() {
    return updateUserId;
    }
    public void setUpdateUserId(String updateUserId) {
    this.updateUserId = updateUserId;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

}